package com.zues.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zues.dao.ProductCategoryDAO;
import com.zues.entity.ProductCategory;
import com.zues.service.ProductCategoryService;

@Service
public class ProductCategoryServiceImpl implements ProductCategoryService{

	@Autowired
	private ProductCategoryDAO productCategoryDAO;
	
	@Override
	public List<ProductCategory> getProductCategoryList(long shopId) {
		return productCategoryDAO.queryProductCategoryList(shopId);
	}

	@Override
	public int batchInsertProductCategory(List<ProductCategory> productCategoryList) {
		// TODO Auto-generated method stub
		return 0;
	}
	
	
}
